package appium1.common;

import org.testng.IRetryAnalyzer;
import org.testng.ITestResult;

public class ReTry implements IRetryAnalyzer {
    int index=0;
    int reTryCount=2;
    public boolean retry(ITestResult iTestResult) {
        if(index<2){
            index++;
            return true;
        }
        return false;
    }
}
